//
//  Settings.h
//  网易新闻
//
//  Created by dllo on 15/10/12.
//  Copyright (c) 2015年 Lx. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSUInteger, colorStyle) {
    GrayToBlack,
    WhiteToGray,
    WhiteToLightGray,
    BlackToWhite,
};
@interface Settings : NSObject
@property(nonatomic, assign)BOOL isNight;

+ (instancetype)shareSettings;

- (BOOL)isFirst;
- (void)changeFirst;

- (NSArray *)addressArr;
- (NSArray *)collectionsArr;
- (BOOL)checkDocid:(NSString *)docid;
- (void)changeCollectionArr:(NSMutableArray *)muArr;

- (UIColor *)color:(colorStyle)colorstyle;

- (void)writeToDBWithDic:(NSDictionary *)dic WithName:(NSString *)name;
- (NSDictionary *)dicSelectFromDB:(NSString *)name;
- (void)closeDB;
@end
